Skip to content

Give cv the shared settings - #20

Merged
benbirt merged 1 commit into
mainfrom
cv-shared
Nov 28, 2026
Merged

benbirt merged 1 commit into
mainfrom
cv-shared

Conversation

@benbirt

@benbirt benbirt commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

The follow-up to #18: cv takes the settings every other managed repository has, and github/as_found.tf is deleted with the code that read it.

Plan: 3 to add, 1 to change, 0 to destroy.

Resource Change
github_repository.this["cv"] Allow auto-merge off → on; allow merge commits on → off; delete branch on merge off → on
github_repository_ruleset.default_branch["cv"] New main ruleset: pull requests required (squash or rebase), build required from GitHub Actions, no deletion or force pushes
github_repository_vulnerability_alerts.this["cv"] Dependabot alerts on
github_repository_dependabot_security_updates.this["cv"] Dependabot security updates on

Why the ruleset matters now

benbirt/cv#9, Dependabot's first pull request (five actions, including actions/checkout 4.4.0 → 7.0.1), merged 8 seconds after it opened, before its build finished. With no required check, auto-merge had nothing to wait for. The build on main afterwards passed and rebuilt the latest PDF, so nothing broke this time. With this ruleset, auto-merge waits for build.

Direct edits to main

Several of cv's commits are edits made in GitHub's web editor straight to main ("Update cv.typ", most recently 96be0cb in May). With this ruleset those are blocked: the web editor offers to open a pull request instead, which merges once build passes. Decided in review: pull requests required, so cv keeps the shared ruleset rather than direct_pushes: true.

🤖 Generated with Claude Code

cv takes the shared repository settings, the main ruleset and
Dependabot alerts and security updates, and github/as_found.tf goes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@benbirt
benbirt merged commit 3b97e31 into main Nov 28, 2026
2 checks passed
@benbirt
benbirt deleted the cv-shared branch November 28, 2026 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant